<?php
if ($cashmoney_start_times<=time() && time()<=$cashmoney_end_times) {
//	echomsg($cashmoney_start_times.'|'.time().'|'.$cashmoney_end_times.'|'.$m['u_id']);
	$query_user_it=$db->query("select * from player_info where u_id='".$m['u_id']."';");
	$list_user_it=$db->fetch_array($query_user_it);
	if ($list_user_it['ifto']=='0') {
		$db->query("update player_info set cashmoney=(cashmoney+'500'),ifto='1' where u_id='".$m['u_id']."';");
	}
}
?>